include(QZXing.pri)

VERSION = 2.3

TARGET = QZXing
TEMPLATE = app

# CONFIG += staticlib

include( qrencode/qrencode.pri)

DEFINES -= DISABLE_LIBRARY_FEATURES
symbian {
    TARGET.UID3 = 0xE618743C
    TARGET.EPOCALLOWDLLDATA = 1
    addFiles.sources = QZXing.dll
    addFiles.path = !:/sys/bin
    DEPLOYMENT += addFiles
#    TARGET.CAPABILITY = All -TCB -AllFiles -DRM
    TARGET.CAPABILITY += NetworkServices \
        ReadUserData \
        WriteUserData \
        LocalServices \
        UserEnvironment \
        Location
}

OTHER_FILES += \
    qtc_packaging/debian_fremantle/rules \
    qtc_packaging/debian_fremantle/README \
    qtc_packaging/debian_fremantle/copyright \
    qtc_packaging/debian_fremantle/control \
    qtc_packaging/debian_fremantle/compat \
    qtc_packaging/debian_fremantle/changelog \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/README \
    qtc_packaging/debian_harmattan/manifest.aegis \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/README \
    qtc_packaging/debian_harmattan/manifest.aegis \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog \
    qtc_packaging/debian_fremantle/rules \
    qtc_packaging/debian_fremantle/README \
    qtc_packaging/debian_fremantle/copyright \
    qtc_packaging/debian_fremantle/control \
    qtc_packaging/debian_fremantle/compat \
    qtc_packaging/debian_fremantle/changelog

FORMS += \
    decoderwidget.ui \
    aboutwidget.ui

HEADERS += \
    decoderwidget.h \
    aboutwidget.h

SOURCES += \
    decoderwidget.cpp \
    main.cpp \
    aboutwidget.cpp


#INCLUDEPATH +=  D:/opencv/opencv3.4/build/include \
#                D:/opencv/opencv3.4/build/include/opencv \
#                D:/opencv/opencv3.4/build/include/opencv2

#LIBS += -L D:/opencv/opencv3.4/build/x64/vc15/bin/opencv_world3414.dll
#LIBS += -L D:/opencv/opencv3.4/build/x64/vc15/bin/opencv_world3414d.dll

#LIBS += -L D:/opencv/opencv3.4/build/x64/vc14/lib/opencv_world3414.lib
#LIBS += -L D:/opencv/opencv3.4/build/x64/vc14/lib/opencv_world3414d.lib

RESOURCES += \
    source.qrc
